#pragma once

#include <string>

#include "CodecStream.h"
#include "HuffmanCodec.h"
#include "Tree.h"

namespace Huffman {

	class HuffmanCodecImpl : public HuffmanCodec
	{
	public:
		HuffmanCodecImpl(std::string inputFile, std::string outputFile);
		~HuffmanCodecImpl(void);

		void compress();
		void decompress();

	private:
		std::string inputFile;
		std::string outputFile;

		Tree* tree;
	};
}
